package com.mh.study.jackson.annotations;

import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * @author meng.han
 * @since 2021-11-26
 */
@JsonRootName(value = "user", namespace="users")
public class UserWithRootNamespace {
    public int id;
    public String name;

    public UserWithRootNamespace(int id, String name) {
        this.id = id;
        this.name = name;
    }
}
